package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Photo;

public interface PhotoDAO{
        
    public void save(Photo transientInstance);
    
	public void delete(Photo persistentInstance);
    
    public Photo findById( java.lang.Integer id);
    
    public List<Photo> findByExample(Photo instance);
    
    public List findByProperty(String propertyName, Object value);

	public List<Photo> findByAlbumid(Object albumid);

	public List<Photo> findByIsstudio(Object isstudio);
	
	public List<Photo> findByMemberid(Object memberid);
	
	public List<Photo> findByUploaddate(Object uploaddate);
	
	public List<Photo> findByPhotoname(Object photoname);
	
	public List<Photo> findByFilename(Object filename);
	
	public List<Photo> findByPath(Object path);	

	public List findAll();
	
    public Photo merge(Photo detachedInstance) ;

}